import request from '@/utils/request'

// 查询航站楼楼层信息列表
export function listTerminalfloor(query) {
  return request({
    url: '/baseinfo/terminalfloor/list',
    method: 'get',
    params: query
  })
}

// 查询航站楼楼层信息详细
export function getTerminalfloor(floorid) {
  return request({
    url: '/baseinfo/terminalfloor/' + floorid,
    method: 'get'
  })
}

// 新增航站楼楼层信息
export function addTerminalfloor(data) {
  return request({
    url: '/baseinfo/terminalfloor',
    method: 'post',
    data: data
  })
}

// 修改航站楼楼层信息
export function updateTerminalfloor(data) {
  return request({
    url: '/baseinfo/terminalfloor',
    method: 'put',
    data: data
  })
}

// 删除航站楼楼层信息
export function delTerminalfloor(floorid) {
  return request({
    url: '/baseinfo/terminalfloor/' + floorid,
    method: 'delete'
  })
}
